project "ImGUI"
    kind "StaticLib"
    language "C++"
    
	targetdir("exec/" .. outputdir .. "/%{prj.name}" ) -- 输出的路径
	objdir("mid/" .. outputdir .. "/%{prj.name}" ) -- 中间文件输出的路径

	files
	{
        "imconfig.h",
        "imgui.cpp",
        "imgui.h",
        "imgui_demo.cpp",
        "imgui_draw.cpp",
        "imgui_internal.h",
        "imgui_tables.cpp",
        "imgui_widgets.cpp",
        "imstb_rectpack.h",
        "imstb_textedit.h",
        "imstb_truetype.h"
    }
    
	filter "system:windows"
        systemversion "latest"
		staticruntime "On"
        cppdialect "C++17"
        staticruntime "On"

    filter { "system:windows", "configurations:Release" }
        buildoptions "/MT"